@import "@library/app/app.scss";

.search {
  position: relative;
  display: block;
  padding: 10px;
  padding-left: 0;
  justify-content: center;
  align-items: center;
  [class*=searchForm] {
    top: 52px;
  }
}

.title {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin-right: 30px;
}

.fullIcon {
  color: rgba($color: #232528, $alpha: .45);
  font-size: 16px;
  margin-top: 1px;
}

.fullModal {
  height: 100vh;
  top: 0;
  left: 240px;
  padding-bottom: 0;
  margin: 0;

  :global {
    .ant-modal-content {
      display: flex;
      flex-direction: column;
      height: 100%;
    }

    .ant-modal-body {
      flex: 1;
    }
  }
}

.fullModalCollapsed {
  left: 60px;
}

.main {
  display: flex;
  flex: 1;
  height: 0;
}

.waiting {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.interval {
  height: 16px;
}

.sidebar {
  width: 205px;
  max-width: 205px;
  margin-left: 23px;
  border-left: solid 1px $border-color-base;
  padding-left: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  h2 {
    font-size: 14px;
    span {
      color: $primary-color;
    }
  }
  ul {
    padding: 0;
    margin: 0;
    height: 0;
    flex: 1;
    margin-top: 21px;
    overflow-y: auto;
  }
  li {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    height: 32px;
    margin-bottom: 8px;
    padding: 0 8px;
    color: $black-65;
    &:hover {
      background: #F9F9F9;
      .delAction {
        display: block;
      }
    }
  }
  .delAction {
    display: none;
    color: $primary-color;
    cursor: pointer;
  }
}